package com.briup.app02.service;

import java.util.List;

import com.briup.app02.bean.Article;
import com.briup.app02.bean.extend.ArticleExtend;
import com.briup.app02.utils.CustomerException;
 
public interface IArticleService {
	void saveOrUpdate(Article article) throws CustomerException;

	void deleteById(Long id);

	List<Article> query(String title,String status,Long categoryId );
	
	List<ArticleExtend> queryCascade(String title,String status,Long categoryId);

	ArticleExtend read(long id);
	
	void changeStatus(Long id,String status);
	
}
